//
//  NBSquareViewController.m
//  聚超值
//
//  Created by 李智恒 on 16/3/27.
//  Copyright © 2016年 Zhli. All rights reserved.
//

#import "NBSquareViewController.h"
#import "UIImage+Image.h"   

@implementation NBSquareViewController

-(void)viewDidLoad
{
    [super viewDidLoad];
    
    //设置导航栏左边按钮
    self.navigationItem.leftBarButtonItem=[[UIBarButtonItem alloc]initWithImage:[UIImage imageOriginalWithName:@"pcobb_navbar_btn_search"] style:(UIBarButtonItemStyleDone) target:self action:@selector(leftBtnClick)];
    
    //设置导航栏右边按钮
    self.navigationItem.rightBarButtonItem=[[UIBarButtonItem alloc]initWithImage:[UIImage imageOriginalWithName:@"pcobb_navbar_btn_uc"] style:(UIBarButtonItemStyleDone) target:self action:@selector(rigthBtnClick)];
}
-(void)leftBtnClick
{
    NSLog(@"点击了左边按钮");
}

-(void)rigthBtnClick
{
    NSLog(@"点击了右边按钮");
}

    
@end
